home *** CD-ROM | disk | FTP | other *** search
/ Nautilus 1992 July / Nautilus-3-8 / Nautilus-3-8.bin / Tools & Utilities / Techy Stuff / Doco ƒ / CSMP ƒ / CSMP-V1-090.TXT < prev    next >
Encoding:
Text File  |  1992-06-30  |  42.3 KB  |  1,104 lines

  1. C.S.M.P. Digest             Fri, 22 May 92       Volume 1 : Issue 90
  2.  
  3. Today's Topics:
  4.  
  5.     Application Menu missing
  6.     Using Fix2X and X2Fix
  7.     Broken Sample Screen Saver?
  8.     What is "Tuna Helper" INIT in my system?
  9.     MPW's C preprocessor bug
  10.     LaserPrep enforcer ??
  11.     Finding the Event Queue, etc.
  12.     Alternatives to fopen() in Think C?
  13.     Apple Installer Scripts
  14.     Too many files open?
  15.  
  16.  
  17. The Comp.Sys.Mac.Programmer Digest is moderated by Michael A. Kelly.
  18.  
  19. These digests are available (by using FTP, account anonymous, your email
  20. address as password) in the pub/mac/csmp-digest directory on ftp.cs.uoregon.
  21. edu.  This is also the home of the comp.sys.mac.programmer Frequently Asked
  22. Questions list.  The last several issues of the digest are available from
  23. sumex-aim.stanford.edu as well.
  24.  
  25. These digests are also available via email.  Just send a note saying that you
  26. want to be on the digest mailing list to mkelly@cs.uoregon.edu, and you will
  27. automatically receive each new digest as it is created.
  28.  
  29. The digest is a collection of articles from the internet newsgroup comp.sys.
  30. mac.programmer.  It is designed for people who read c.s.m.p. semi-regularly
  31. and want an archive of the discussions.  If you don't know what a newsgroup
  32. is, you probably don't have access to it.  Ask your systems administrator(s)
  33. for details.  (This means you can't post questions to the digest.)
  34.  
  35. The articles in these digests are taken directly from comp.sys.mac.programmer.
  36. They are not edited; all articles included in this digest are in their original
  37. posted form.  The only articles that are -not- included in these digests are
  38. those which didn't receive any replies (except those that give information
  39. rather than ask a question).  All replies to each article are concatenated
  40. onto the original article in the order in which they were received.  Article
  41. threads are not added to the digests until the last article added to the
  42. thread is at least one month old (this is to ensure that the thread is dead
  43. before adding it to the digests).
  44.  
  45. Send administrative mail to mkelly@cs.uoregon.edu.
  46.  
  47. -------------------------------------------------------
  48.  
  49. From: nurse@vax.oxford.ac.uk
  50. Subject: Application Menu missing
  51. Date: 15 Apr 92 12:20:23 GMT
  52. Organization: Oxford University VAXcluster
  53.  
  54. Dear Think C 5 users,
  55.  
  56. Two problems:
  57. (1)
  58. I can't get the Application menu to appear when running my previously
  59. Multifinder-compatible Think-C 4 program after switching to Think-C 5 and
  60. System 7, either when running as a project or as a standalone application.  
  61. Any clues?
  62.  
  63. (2)
  64. What's the definitive method for creating files with icons?  Is it possible to
  65. prompt a user via SFPutFile and then CreateFile the file with the icon?  My
  66. file doesn't seem to pick up the Creator info when I do this.
  67.  
  68. *** Please direct any replies to  kevin@uk.ac.ox.bioch and I will summarise 
  69. *** if it warrants. (ie "If I'm not >>Really<< stupid!!!)
  70.  
  71. Kevin Crawford
  72. ICRF Cell Cycle Group
  73. Oxford University
  74. UK
  75.  
  76. +++++++++++++++++++++++++++
  77.  
  78. From: nurse@vax.oxford.ac.uk
  79. Date: 21 Apr 92 14:38:19 GMT
  80. Organization: Oxford University VAXcluster
  81.  
  82. Reposted due to lack of response:
  83.  Dear Think C 5 users,
  84.  
  85.  Two problems:
  86.  (1)
  87.  I can't get the Application menu to appear when running my previously
  88.  Multifinder-compatible Think-C 4 program after switching to Think-C 5 and
  89.  System 7, either when running as a project or as a standalone application.  
  90.  Any clues?
  91.  
  92.  (2)
  93.  What's the definitive method for creating files with icons?  Is it possible to
  94.  prompt a user via SFPutFile and then CreateFile the file with the icon?  My
  95.  file doesn't seem to pick up the Creator info when I do this.
  96.  
  97.  *** Please direct any replies to  kevin@uk.ac.ox.bioch and I will summarise 
  98.  *** if it warrants.
  99.  
  100.  Kevin Crawford
  101.  ICRF Cell Cycle Group
  102.  Oxford University
  103.  UK
  104.  
  105. ---------------------------
  106.  
  107. From: cfranz@iiic.ethz.ch (Christian Steffen Ove Franz)
  108. Subject: Using Fix2X and X2Fix
  109. Organization: Dept. Informatik, Swiss Federal Institute of Technology (ETH)
  110. Date: Sun, 19 Apr 1992 16:52:24 GMT
  111.  
  112. OK, OK, I've had it!!
  113.  
  114. After RTFM tree times in *any* direction, praying to twelve different dieties
  115. and trying everything else (except posting here) I give up.
  116.  
  117. How do you get the Fix2X and X2Fix routines to work? And yes, I *did* try
  118. using the inline statement. No good. 
  119.  
  120. I do have a workaround, but since I wasted four whole days on it it got
  121. personal. If you have any good ideas (*any*), please email them to me.
  122.  
  123. Oh, I guess I forgot to mention, I am using THINK Pascal 4.01 (well, maybe
  124. not for very much longer...)
  125.  
  126. Thanks alot,
  127. Christian.
  128.  
  129. - -- 
  130. - -----------------------------------------------------------------------------
  131. Christian S. O. Franz                 |                   cfranz@iiic.ethz.ch
  132. ETH Zuerich, Swizerland               |                     vismgr@rz.ethz.ch
  133.  
  134. +++++++++++++++++++++++++++
  135.  
  136. From: gtall@ogre.cica.indiana.edu (Gerry Allwein)
  137. Date: 20 Apr 92 11:10:03 GMT
  138. Organization: Indiana University
  139.  
  140. That's funny, I've had troubles with X2Fix also. When our app calls it,
  141. it causes a segment fault and then the heap gets screwed up after the new
  142. segment is loaded. We were using MacApp 2.0 when I observed it happening.
  143. I found that if I put the following line in my app startup (i.e., it had to
  144. go before the InitUMacApp)
  145.  
  146.         bozo := X2Fix( 1.0 );
  147.         InitUMacApp(12);
  148.  
  149. the problem went away. Now we are using MacApp2.0.1 but I've not gone back to
  150. recheck it. TMON is the guy who told me my heap was messed up. This was also
  151. under system 6.0.5. Are you having similar problems? Someone at Apple claimed
  152. to be looking at the problem awhile back, but I can't remember who and never
  153. received an answer.
  154.  
  155. Gerry
  156.  
  157. +++++++++++++++++++++++++++
  158.  
  159. From: kevind@pogo.wv.tek.com (Kevin Draz)
  160. Date: 22 Apr 92 06:07:37 GMT
  161. Organization: Tektronix, Inc., Wilsonville,  OR.
  162.  
  163. In article <1992Apr19.165224.20106@neptune.inf.ethz.ch> cfranz@iiic.ethz.ch (Christian Steffen Ove Franz) writes:
  164. >OK, OK, I've had it!!
  165. >
  166. >After RTFM tree times in *any* direction, praying to twelve different dieties
  167. >and trying everything else (except posting here) I give up.
  168. >
  169. >How do you get the Fix2X and X2Fix routines to work? And yes, I *did* try
  170. >using the inline statement. No good. 
  171.  
  172. I had no problem with X2Fix, but Fix2X gave me a headache.  There's a bug in
  173. MPW C 3.x where it does not agree with Pascal (and therefore the OS) on how
  174. a float returns.  You get a garbage value every time.
  175.  
  176. I had to break down and write a Pascal module which took a VAR argument and
  177. modified it to be the result of Fix2X, then calling the Pascal from C.  
  178.  
  179. As for the OS trap functions themselves, they worked fine.  You could see the
  180. correct data on the stack when they returned.
  181. - -- 
  182. - ----
  183. kevind@pogo.wv.tek.com  | For most software publishers, quality is job 1.01.
  184. Tektronix Color Printers|                            -- MacWeek Magazine
  185.  
  186. ---------------------------
  187.  
  188. From: gillies@m.cs.uiuc.edu (Don Gillies)
  189. Subject: Broken Sample Screen Saver?
  190. Organization: University of Illinois, Dept. of Comp. Sci., Urbana, IL
  191. Date: Mon, 20 Apr 1992 09:36:12 GMT
  192.  
  193. I was trying to get "blanket -- a screen saver shell" to work.  This
  194. is a piece of code written by Christopher Tate in 1991, and (I think)
  195. came from sumex.  It puts a tail patch on system task.  The patch
  196. checks for keyboard / mouse activity, and if it finds none for a
  197. certain number of ticks, it creates a new grafport, makes the GrayRgn
  198. a nullRgn, paints the port black with "PaintRect", calls
  199. CalcVisBehind, and then there is space in the source code for the
  200. novice to put some animation code.  I haven't put anything there.
  201.  
  202. Well, I run MaxApplZoom, and something truly weird is happening.
  203. After the screen saver activates, there is a 3-second pause, and then
  204. one or more portions of the screen, in the shape of icon masks, appear
  205. at the bottom of the screen (in my background color, pink).  If you've
  206. ever run MaxAppleZoom, you'll notice something about the finder.  When
  207. you boot the mac with MaxAppleZoom OFF (i.e. a smaller screen), AND
  208. you have icons that would go beyond the boundaries of the screen, then
  209. the finder detects this and mechanically moves the icons into standard
  210. locations, on the screen.
  211.  
  212. Well, the finder is doing this when the screen saver activates.  I
  213. have no idea why the finder is doing this -- I imagine the trigger for
  214. this behavior isn't exactly something Apple is anxious to document.
  215.  
  216. Does anyone know how to avoid triggering the finder's icon mover?
  217. Shouldn't the screen saver create a whole new frontmost Window, rather
  218. than just making a GrafPort?  Are all these calls legal within
  219. SystemTask?  Has anyone else experienced problems with "blanket", or
  220. does anyone else know about a more robust screen saver (w/source
  221. code)?
  222.  
  223. Thanks,
  224.  
  225. Don Gillies - gillies@cs.uiuc.edu - University of Illinois at Urbana-Champaign
  226.  
  227.  
  228. - -- 
  229.  
  230.  
  231.  
  232.  
  233. +++++++++++++++++++++++++++
  234.  
  235. From: CXT105@psuvm.psu.edu (Christopher Tate)
  236. Date: 21 Apr 92 12:22:37 GMT
  237. Organization: Penn State University
  238.  
  239. In article <1992Apr20.093612.13366@m.cs.uiuc.edu>, gillies@m.cs.uiuc.edu (Don
  240. Gillies) says:
  241. >
  242. >I was trying to get "blanket -- a screen saver shell" to work.  This
  243. >is a piece of code written by Christopher Tate in 1991, and (I think)
  244. >came from sumex.  It puts a tail patch on system task.  The patch
  245. >checks for keyboard / mouse activity, and if it finds none for a
  246. >certain number of ticks, it creates a new grafport, makes the GrayRgn
  247. >a nullRgn, paints the port black with "PaintRect", calls
  248. >CalcVisBehind, and then there is space in the source code for the
  249. >novice to put some animation code.  I haven't put anything there.
  250.  
  251. Oy.  It looks like you got hold of a pre-release version of that screen
  252. saver; I abandoned the trap patch approach a while back.  However, the
  253. behavior you describe later on (with icons moving around, weird problems
  254. with MaxApplZoom, etc.) is something that the Finder started doing under
  255. System 7 (you *are* running System 7, right?).  I think it has something
  256. to do with supporting the Radius Pivot.
  257.  
  258. I submitted better code for this screen saver to the UMPG editor a while
  259. ago, but he's had enough stuff to worry about without having to pound
  260. away on getting volume II out...  Also, since that time I've added a
  261. Control Panel interface and cleaned up the screen saver portion (which
  262. nowadays uses a jGNEFilter routine instead of a patch).  As a trap patch,
  263. it was supposed to be more an example of a squeaky-clean patch than a
  264. solid screen saver (as I recall, it was a *head* patch, i.e. it did its
  265. own thing, and then dropped through into the original trap routine).
  266.  
  267. If I get the time, I'll try to dig out my code and make it available;
  268. however, no promises.  I've got graduation and a wedding coming up in
  269. the next couple of weeks/months, and things are a little disjoint at
  270. the moment....
  271.  
  272. - -------
  273. Christopher Tate        |  "Isn't it funny how the people who cling like
  274.                         |   barnacles to the traditional myths are always
  275. cxt105@psuvm.psu.edu    |   complaining that the rest of us are closed-
  276. Bitnet:  CXT105@PSUVM   |   minded?"                   -- Dr. Dave
  277.  
  278. ---------------------------
  279.  
  280. From: pejacoby@mmm.serc.3m.com (Paul E. Jacoby)
  281. Subject: What is "Tuna Helper" INIT in my system?
  282. Date: 20 Apr 92 13:15:28 GMT
  283. Organization: 3M Company
  284.  
  285. In article <jy4j2z=.rth@netcom.com> rth@netcom.com (Robert Hughes) writes:
  286. >I have the same INIT in my system, which I saw after reading on CIS that
  287. >it was inserted there by Tune-Up. However both ID=11 and ID=13 seem 
  288. >the same, and I'm wondering if since I used both Tune-up 1.1 and 1.1.1 
  289. >if it didn't put the same code in twice?? 
  290.  
  291. I'm not sure how this all fits together, but I just did some wandering
  292. in the Tune-Up 1.1.1 file with Resedit.  Here's what I found:
  293.  
  294.    In the "System 7 Tuner" file, there is a 'proc' with ID=1001. The
  295.    code in this proc _IS_ the code in 'INIT' ID=11 and ID=13 that we are
  296.    seeing in our System files.
  297.  
  298.    There is also a 'proc' ID=1000 which apparently does the installation
  299.    into the System file.  There is a block of ascii at the end of this
  300.    proc which reads ".Tuna Helper". The code in the proc appears to set
  301.    proc 1001 to INIT 13 in the System file.
  302.  
  303.    It's kind of humorous that all of this code appears to be using a
  304.    Gestalt selector called 'bugz' :-)
  305.  
  306. Now all that we need to know is "Why?" and "What is this thing?"  I hope
  307. the cross-post of comp.sys.mac.programmer is helpful.
  308. - -- 
  309. | Paul E. Jacoby, Consultant  | pejacoby@serc.3m.com  CIS:70404,2507 |
  310. | David Mitchell & Associates |--------------------------------------|
  311. | 3M Center, Bldg 235-3F-27   | (612) 737-3211        (612) 731-6392 |
  312. | Maplewood, MN   55144-1000  |       [work]                [home]   |
  313.  
  314. +++++++++++++++++++++++++++
  315.  
  316. From: j-norstad@nwu.edu (John Norstad)
  317. Organization: Northwestern University
  318. Date: Mon, 20 Apr 1992 14:58:23 GMT
  319.  
  320. The Tuna Helper resources are installed by the System 7 TuneUp INITs.
  321.  
  322. The id=11 resource is installed by TuneUp 1.1.
  323.  
  324. The id=13 resource is installed by TuneUp 1.1.1.
  325.  
  326. TuneUp 1.1.1 should really delete the old id=11 resource, but it doesn't. 
  327.  
  328. As a friend at Apple says "I'll have two servings of Tuna Helper, please."
  329. He also says that having the two copies there shouldn't do any harm. You
  330. can use ResEdit to delete the id=11 one if you wish.
  331.  
  332. These resources are not put there by the Installer, but rather by the INIT
  333. the first time you reboot after installing the tuneup. The reason they are
  334. there is to make sure that the disappearing file/folder fix is installed
  335. even if you hold down the Shift key.
  336.  
  337. Disclaimer: All this info is second hand. I think it's correct, but you
  338. never know.
  339.  
  340. John Norstad
  341. Northwestern University
  342. j-norstad@nwu.edu
  343.  
  344. +++++++++++++++++++++++++++
  345.  
  346. From: jackb@mdd.comm.mot.com (Jack Brindle)
  347. Organization: Motorola, Mobile Data Division - Seattle, WA
  348. Date: Mon, 20 Apr 1992 17:31:23 GMT
  349.  
  350. In article <1992Apr20.131528.18662@mmm.serc.3m.com> pejacoby@mmm.serc.3m.com (Paul E. Jacoby) writes:
  351. >In article <jy4j2z=.rth@netcom.com> rth@netcom.com (Robert Hughes) writes:
  352. >>I have the same INIT in my system, which I saw after reading on CIS that
  353. >>it was inserted there by Tune-Up. However both ID=11 and ID=13 seem 
  354. >>the same, and I'm wondering if since I used both Tune-up 1.1 and 1.1.1 
  355. >>if it didn't put the same code in twice?? 
  356. >
  357. >I'm not sure how this all fits together, but I just did some wandering
  358. >in the Tune-Up 1.1.1 file with Resedit.  Here's what I found:
  359. >
  360. >   In the "System 7 Tuner" file, there is a 'proc' with ID=1001. The
  361. >   code in this proc _IS_ the code in 'INIT' ID=11 and ID=13 that we are
  362. >   seeing in our System files.
  363. >
  364. >   There is also a 'proc' ID=1000 which apparently does the installation
  365. >   into the System file.  There is a block of ascii at the end of this
  366. >   proc which reads ".Tuna Helper". The code in the proc appears to set
  367. >   proc 1001 to INIT 13 in the System file.
  368. >
  369. >   It's kind of humorous that all of this code appears to be using a
  370. >   Gestalt selector called 'bugz' :-)
  371. >
  372. >Now all that we need to know is "Why?" and "What is this thing?"  I hope
  373. >the cross-post of comp.sys.mac.programmer is helpful.
  374.  
  375. There are some things it does that is interesting. It apparently patches the
  376. driver open trap to reject the opening of at least some drivers when AppleTalk
  377. is turned off. The error return is (-21), indicating a problem with a lack
  378. of space in the unit table (actually, this code makes no sense, but this is
  379. what I see happening). Turn on AppleTalk, and things load properly. The
  380. specific problem I am seeing involves a Mass Micro QuickImage-24 video
  381. frame grabber. It's INIT closes the nuBus driver that is automatically loaded,
  382. then installs a "new" driver from the INIT file. Problem is that when the
  383. _open is called, the Mac returns the -21 error. M.M.'s code doesn't pick up
  384. the error, of course, so it _assumes_ everything went ok and finishes the
  385. install (luckily it manages not to mess anything up). 
  386.  
  387. It is extremely interesting to note that it blocks only some drivers. My
  388. fax driver loads (and works) properly!
  389.  
  390. It would be _awfully_ nice to know the mechanism that tuneup adds to block
  391. the installation of the driver.
  392.  
  393. Jack Brindle
  394. ham radio: wa4fib
  395. internet: jackb@mdd.comm.mot.com
  396.  
  397.  
  398. +++++++++++++++++++++++++++
  399.  
  400. Date: Mon, 20 Apr 92 18:59:08 MDT
  401. From: parkj@bones.caedm.byu.edu (john r park)
  402. Organization: Brigham Young University, Provo UT USA
  403.  
  404. >I have the same INIT in my system, which I saw after reading on CIS that
  405. >it was inserted there by Tune-Up. However both ID=11 and ID=13 seem 
  406. >the same, and I'm wondering if since I used both Tune-up 1.1 and 1.1.1 
  407. >if it didn't put the same code in twice?? 
  408.  
  409. I have Tuneup 1.1.1 installed and I don't have any such TUNA INIT in my
  410. system folder, extension folder, or control panels folder.  Why am I
  411. missing it if it's supposed to be there?
  412.  
  413. - -- 
  414. **************************************************************
  415. *  John R Park           |     Dept of Mech. Engineering     *
  416. *  john_park@byu.edu     |     Brigham Young University      *
  417. **************************************************************
  418.  
  419. +++++++++++++++++++++++++++
  420.  
  421. From: nagle@netcom.com (John Nagle)
  422. Date: 21 Apr 92 03:00:57 GMT
  423. Organization: Netcom - Online Communication Services  (408 241-9760 guest)
  424.  
  425.  
  426.       It's worth noting that secretly installing hidden programs as
  427. a byproduct of something else comes very close to virus-like behavior.
  428. If they cause harm, one might have cause to bring computer crime charges.
  429. Check out the Federal computer crime statutes.   
  430.  
  431.                     John Nagle
  432.  
  433. +++++++++++++++++++++++++++
  434.  
  435. From: jcav@quads.uchicago.edu (JohnC)
  436. Date: 21 Apr 92 18:02:55 GMT
  437. Organization: The Royal Society for Putting Things on Top of Other Things
  438.  
  439. In article <yl5j45l.nagle@netcom.com> nagle@netcom.com (John Nagle) writes:
  440. >      It's worth noting that secretly installing hidden programs as
  441. >a byproduct of something else comes very close to virus-like behavior.
  442. >If they cause harm, one might have cause to bring computer crime charges.
  443. >Check out the Federal computer crime statutes.   
  444.  
  445. Oh puh-LEEZE!  All that's happening with the Tuneup is that an OS patch is
  446. being installed from a file other than the System file.  There's lots and
  447. lots of patch code that gets installed before any extensions are loaded, and
  448. you can't disable that process with a key combination.  Should Apple be
  449. prosecuted for that, too?  Yes, Tuneup has to do some skanky stuff to allow
  450. for patches that are in separate files.  This is a price to be paid for
  451. adding this sort of functionality without forcing a new operating system
  452. release.  I think it is very likely that System 7.1 will have a different
  453. method of installing patch code that "knows about" Tuneup-like files.  In the
  454. meantime, chill.
  455.  
  456. - -- 
  457. John Cavallino                  |  EMail: jcav@midway.uchicago.edu
  458. University of Chicago Hospitals |         John_Cavallino@uchfm.bsd.uchicago.edu
  459. Office of Facilities Management | USMail: 5841 S. Maryland Ave, MC 0953
  460. B0 f++ c+ g+ k s++ e+ h- pv     |         Chicago, IL  60637
  461.  
  462. +++++++++++++++++++++++++++
  463.  
  464. From: tinsel@uiuc.edu (Thomas Aaron Insel)
  465. Date: 21 Apr 92 19:32:19 GMT
  466. Organization: {not speaking for the} University of Illinois at Urbana
  467.  
  468. nagle@netcom.com (John Nagle) writes:
  469.  
  470. >       It's worth noting that secretly installing hidden programs as
  471. > a byproduct of something else comes very close to virus-like behavior.
  472. > If they cause harm, one might have cause to bring computer crime charges.
  473. > Check out the Federal computer crime statutes.   
  474.  
  475. Oh come on, Tuna Helper is installed by Tuneup in the system file to insure 
  476. that certain bug-fixes remain in effect even when the user boots with 
  477. extensions turned off.  This is completely legitimate--when you install
  478. system software, the system gets changed. It's that simple.
  479. - -- 
  480. Thomas Aaron Insel (tinsel@uiuc.edu)
  481.   I speak for myself, and not for the State or University of Illinois.
  482.   "We must not confuse dissent with disloyalty." -- Edward R. Murrow
  483.  
  484. +++++++++++++++++++++++++++
  485.  
  486. From: russotto@eng.umd.edu (Matthew T. Russotto)
  487. Date: Wed, 22 Apr 92 01:41:11 GMT
  488. Organization: College of Engineering, University of Maryland, College Park
  489.  
  490. In article <yl5j45l.nagle@netcom.com> nagle@netcom.com (John Nagle) writes:
  491. >
  492. >      It's worth noting that secretly installing hidden programs as
  493. >a byproduct of something else comes very close to virus-like behavior.
  494. >If they cause harm, one might have cause to bring computer crime charges.
  495. >Check out the Federal computer crime statutes.   
  496.  
  497. And people thought I was paranoid when I starting pointing out
  498. possible abuses of these laws.
  499.  
  500.  
  501.  
  502. - -- 
  503. Matthew T. Russotto    russotto@eng.umd.edu    russotto@wam.umd.edu
  504. Some news readers expect "Disclaimer:" here.
  505. Just say NO to police searches and seizures.  Make them use force.
  506. (not responsible for bodily harm resulting from following above advice)
  507.  
  508. ---------------------------
  509.  
  510. From: suitti@ima.isc.com (Stephen Uitti)
  511. Subject: MPW's C preprocessor bug
  512. Organization: Interactive Systems, Cambridge, MA 02138-5302
  513. Date: Mon, 20 Apr 1992 22:15:15 GMT
  514.  
  515. I'm doing cross platform development in C++ with Windows people.
  516. I came accross the following:
  517.  
  518. #ifdef macintosh    // comment
  519. ...
  520. #endif
  521.  
  522. It seems that "//" end of line comments can't be attached to
  523. C preprocessor statements if the statement resolves to TRUE.
  524.  
  525. I get "syntax error".  It took a longer time that I'd like to admit
  526. to figure out what changes caused this error.  Really.  Is there
  527. any excuse for non-descriptive error messages?  How about:
  528.     Illegal token '//', expecting statement.
  529. Almost anything would help.
  530.  
  531. Stephen.
  532. suitti@ima.isc.com
  533.  
  534. +++++++++++++++++++++++++++
  535.  
  536. From: flaps@dgp.toronto.edu (Alan J Rosenthal)
  537. Date: 21 Apr 92 14:24:30 GMT
  538. Organization: Dynamic Graphics Project, University of Toronto
  539.  
  540. suitti@ima.isc.com (Stephen Uitti) writes:
  541. >#ifdef macintosh    // comment
  542. >...
  543. >#endif
  544. >
  545. >It seems that "//" end of line comments can't be attached to
  546. >C preprocessor statements if the statement resolves to TRUE.
  547.  
  548. Actually, you can't use them on any preprocessor statements at all, EXCEPT that
  549. if you have something like #endif it just ignores the rest of the line so you
  550. can put whatever crap there you want.  I'd recommend simply using the /* */
  551. comments on all preprocessor lines.
  552.  
  553. ---------------------------
  554.  
  555. From: jh4o+@andrew.cmu.edu (Jeffrey T. Hutzelman)
  556. Subject: LaserPrep enforcer ??
  557. Date: 21 Apr 92 00:37:50 GMT
  558. Organization: Sophomore, Electrical and Computer Engineering, Carnegie Mellon, Pittsburgh, PA
  559.  
  560. On 18-Mar-92 in C.S.M.P. Digest V1 #54       
  561. user kevind@pogo.wv.tek.com writes:
  562. >>I'm looking for some PostScript code that will stop a LaserWriter from
  563. >>rebooting if someone trys to print using a LaserPrep other than a system
  564. >>7 one.
  565. >>
  566. >>Does anyone have one of these ?
  567. >>
  568. >The code to restart a LaserWriter (or other PS device) is:
  569. >systemdict begin quit
  570. >In level-2, this is a protected command, so
  571. >serverdict begin 0 exitserver
  572. >systemdict begin quit
  573. >I don't know which version LaserWriters <= 6 use, and it can make a
  574. >difference.  It's pretty hard to do a patch which would negate this code,
  575. >and impossible to do pretty.
  576. >You could try replacing exitserver's definition so that it's a no-op, which
  577. >will probably fail pre-7.0 LaserWriters jobs when they go to download their
  578. >prep.  I haven't tried it, but here it would be:
  579. >%!PS-Adobe
  580. >serverdict begin 0 exitserver
  581. >userdict /exitserver { pop } bind put
  582. >%%End-of-File
  583. >which makes exitserver eat it's argument, and continue on.  Or you could go
  584. >one further and replace pop with { stop } which will force an error in most
  585. >all cases, dumping the job.
  586. >This is likely to have ramifications (pronounced "bugs") with something out
  587. >there.
  588.  
  589. OK, I know this is a little old; I'm reading month-old digests...
  590.  
  591. If quit is a protected command (which it should be), then it is
  592. NECESSARY to execute exitserver for it to have any effect.  The result
  593. is that the printer
  594. can be protected by causing it to execute
  595.  
  596. serverdict begin 0 exitserver
  597. statusdict begin 0 42 setpassword
  598. end
  599.  
  600. This will set the password to "42".  Now, rebooting the printer requires
  601. sending it
  602.  
  603. serverdict begin 42 exitserver
  604. systemdict begin quit
  605.  
  606. Of course, the 42 can be replaced by any number you want.  To change it to 43,
  607. execute
  608.  
  609. serverdict begin 42 exitserver
  610. statusdict begin 42 43 setpassword
  611. end
  612.  
  613. Or you can restore it to zero in the same way.
  614.  
  615. Password-protecting a printer in this manner prevents changing any of
  616. the configuration settings, including the printer's name.  All of the
  617. public cluster
  618. printers at CMU (where the original poster is from) are protected in this way.
  619. This protection does NOT go away if you turn off or unplug the printer.  If
  620. you forget the password, you can get it reset at by your friendly neighborhood
  621. authorized Apple service center, but they will probably charge you, and it will
  622. probably result in losing all the other configuration settings as well.
  623.  
  624. - -- Jeffrey Hutzelman
  625.  
  626. jh4o+@andrew.cmu.edu, jhutz@drycas.BITNET, or JeffreyH11 on America Online
  627.  
  628. +++++++++++++++++++++++++++
  629.  
  630. From: kevind@pogo.wv.tek.com (Kevin Draz)
  631. Date: 22 Apr 92 06:53:42 GMT
  632. Organization: Tektronix, Inc., Wilsonville,  OR.
  633.  
  634. In article <0dwqDSi00UhBM6Y5ga@andrew.cmu.edu> jh4o+@andrew.cmu.edu (Jeffrey T. Hutzelman) writes:
  635.  
  636. [original content of thread deleted, regarding changing exitserver password
  637. on a PS printer to avoid "prep wars"]
  638.  
  639. Whilst sitting late nite, writing my original posting, I originally included
  640. the possibility of changing the NV exitserver password.  After rereading my
  641. message before posting it, I decided NOT to mention the password change,
  642. precisely for the reasons you list.  If you lose nonzero password, you could
  643. be in for a rough, or expensive time [or both].  And what if you're not a
  644. site administrator, and you change the password?  What does the _real_
  645. administrator do?  [Of course, anyone with a moderate knowledge of PS could
  646. change a zero password to anything desired if they have sufficient penchant
  647. for software vandalism] 
  648.  
  649. I decided that it would be irresponsible to tell someone how to do something
  650. potentially undoable [or difficult to undo], and I modified my post.
  651.  
  652. Please don't take this wrong - it's not really a criticism of your
  653. suggestion, just my own personal paranoias.  I'm sure in most cases,
  654. changing the password is the most obvious and effective thing to do.
  655.  
  656. BTW: There was once rumor of a virus [which I have never seen, and therefore
  657. may not exist] which would change the exitserver password of a PS printer to
  658. something random, thereby causing untold grief trying to reset it.  To
  659. address this, Apple released a simple little application [which I have, and
  660. therefore know for a fact to exist] which uses the non-protected machine
  661. language escape operator "cexec" to reset the NV password to zero.  This
  662. only works on "true" Adobe 68K based PS printers.
  663.  
  664. Other PS vendors have addressed this issue in different ways.  Our older PS
  665. clone interpreter has a secret value for exitserver which always is accepted
  666. and resets the password to zero.  Phoenix's clone simply does not store the
  667. password in NV memory.  It's always zero at powerup/reset.  Our Adobe
  668. level-2 machines have a secret switch combo to blast everything in NV memory
  669. except the copy-count.
  670.  
  671. Let's take this thread to comp.lang.postscript, if anyone feels inclined to
  672. reply.
  673.  
  674. - -- 
  675. - ----
  676. kevind@pogo.wv.tek.com  | For most software publishers, quality is job 1.01.
  677. Tektronix Color Printers|                            -- MacWeek Magazine
  678.  
  679. ---------------------------
  680.  
  681. From: lpslot@cs.uh.edu (Louis Slothouber)
  682. Subject: Finding the Event Queue, etc.
  683. Date: 21 Apr 92 19:45:16 GMT
  684. Organization: University of Houston
  685.  
  686. I have a couple of questions regarding the location of Event information
  687. and low memory globals for individual processes Under System 7:
  688.  
  689. (1) Is there an easy way to find the header of the event queue for another
  690. process? (i.e. a process other than the currently executing application)
  691.  
  692. (2) Where is the state information (i.e., A5, low-mem globals, etc) info.
  693. stored for inactive processes? Might there be undocumented fields in
  694. Process Manager records that contain this info? If so, where are they?
  695.  
  696. Thanks!
  697.  
  698. +++++++++++++++++++++++++++
  699.  
  700. From: unity@mcl.mcl.ucsb.edu (Pete Gontier)
  701. Date: 22 Apr 92 04:43:08 GMT
  702.  
  703. In <6416@lib.tmc.edu> lpslot@cs.uh.edu (Louis Slothouber) writes:
  704.  
  705. >(1) Is there an easy way to find the header of the event queue for another
  706. >process? (i.e. a process other than the currently executing application)
  707.  
  708. There is only one event queue for all applications. Hence Phil Shapiro's
  709. recent suggestion here that TCL should not be walking the event queue
  710. looking for command-period because some hapless TCL user might call it
  711. in the background and find a command-period that should have gone to
  712. some app in the foreground.
  713. - --
  714.  Pete Gontier // EC Technology // unity@mcl.ucsb.edu
  715.  
  716. ---------------------------
  717.  
  718. Subject: Alternatives to fopen() in Think C?
  719. From: Alan R. Heyd <IA8@psuvm.psu.edu>
  720. Date: Wednesday, 22 Apr 1992 00:38:51 EDT
  721. Organization: Penn State University
  722.  
  723. What is the best way to open a file using Think C 5.0.  My problem is that
  724. fopen() must by-pass the Finder because under Sys-7.0 if I use fopen() to
  725. open an alias it opens the alias and not the file it points to.  Note the file
  726. name is read from another file so I don't need the Standard File Package
  727. which uses the Open File dialog window.
  728.  
  729. Any help on this problem would be appreciated.  I have access to Inside
  730. Mac v. 1--6 so even a page number in Inside Mac would help.
  731.  
  732. Thanks
  733.  
  734. Alan Heyd
  735. ia8@psuvm.psu.edu
  736.  
  737. ---------------------------
  738.  
  739. From: stauffer@cc.swarthmore.edu (R. Glenn Stauffer)
  740. Subject: Apple Installer Scripts
  741. Date: 14 Apr 92 18:17:26 GMT
  742. Organization: Swarthmore College Computing Center
  743.  
  744. I am trying to patch the installer script that came with WordPerfect to
  745. facilitate
  746. installation of the software from a network drive.
  747.  
  748. Can someone give me a clue as to how I can go about editing the included
  749. script or creating my
  750. own?
  751.  
  752. R. Glenn Stauffer
  753. Micro-Computer Specialist, Swarthmore College Computing Center
  754. Internet: stauffer@cc.swarthmore.edu
  755.  
  756. +++++++++++++++++++++++++++
  757.  
  758. From: root@wilder.com (Operator)
  759. Organization: Wilder Systems, Trik Product Group
  760. Date: Thu, 16 Apr 1992 14:21:50 GMT
  761.  
  762. In article <PTRHB38H@cc.swarthmore.edu> stauffer@cc.swarthmore.edu (R. Glenn Stauffer) writes:
  763. >I am trying to patch the installer script that came with WordPerfect to
  764. >facilitate
  765. >installation of the software from a network drive.
  766. >
  767. >Can someone give me a clue as to how I can go about editing the included
  768. >script or creating my
  769. >own?
  770. >
  771. >R. Glenn Stauffer
  772. >Micro-Computer Specialist, Swarthmore College Computing Center
  773. >Internet: stauffer@cc.swarthmore.edu
  774.  
  775. Instead of trying to understand the cryptic twistings of the Apple
  776. Installer, you might want to give NetDistributor a try. Several
  777. major universities and companies use it to do exactly what you're
  778. trying to do while avoiding the hassle of learning how to write
  779. installer scripts.
  780.  
  781. Basically, NetDistributor lets you create packages which, when 
  782. double-clicked, install files into the correct places on an
  783. end-user's machine. It's kind of like a smart, self-expanding
  784. archive. And, it's MUCH easier to put together than the Installer.
  785.  
  786. If you'd like to know more about NetDistributor (esp. our new
  787. 2.0 version), send email to support@trik.wilder.com.
  788.  
  789. Throop
  790.  
  791. ---------------------------
  792.  
  793. From: bts39313@uxa.cso.uiuc.edu (Benjamin T Sander)
  794. Subject: Too many files open?
  795. Date: 14 Apr 92 18:52:31 GMT
  796. Organization: University of Illinois at Urbana
  797.  
  798. Anybody know what could cause an error -42, too many files open?
  799. Specifically, what expendable resource does my mac exhaust when
  800. it opens a file?  Where can I get more?
  801.  
  802. (The error occurs after several calls to _OpenResFile on various
  803. resource files which are all located on an Appleshare volume. I don't
  804. know if this is relevant or not.)
  805.  
  806. Thanks in advance!
  807.  
  808. Ben Sander
  809. bts39313@uxa.cso.uiuc.edu
  810.  
  811. +++++++++++++++++++++++++++
  812.  
  813. From: day@william.vancouver.wsu.edu (Steve Day)
  814. Date: 15 Apr 92 04:16:12 GMT
  815. Organization: Washington State University, Vancouver Campus
  816.  
  817. In article <1992Apr14.185231.19216@ux1.cso.uiuc.edu> bts39313@uxa.cso.uiuc.edu (Benjamin T Sander) writes:
  818. >Anybody know what could cause an error -42, too many files open?
  819. >Specifically, what expendable resource does my mac exhaust when
  820. >it opens a file?  Where can I get more?
  821. >
  822. >(The error occurs after several calls to _OpenResFile on various
  823. >resource files which are all located on an Appleshare volume. I don't
  824. >know if this is relevant or not.)
  825. >
  826. On startup the system allocates a (limited, fixed) number of FCBs (File
  827. Control Blocks).  The number to be allocated is stored in the boot blocks
  828. of the startup drive and once they are set up the system can't create more
  829. as they are needed :-(  These blocks are also shared among all programs 
  830. including the system and finder and an application also counts as a file.
  831. I'm not sure if opening a resource fork and a data fork on the same file is
  832. considered one or two files (Anyone have an answer to that?).
  833.  
  834. - -- 
  835.  
  836. Steve Day
  837. N7VHY
  838.  
  839. +++++++++++++++++++++++++++
  840.  
  841. From: russotto@eng.umd.edu (Matthew T. Russotto)
  842. Date: Wed, 15 Apr 92 14:49:46 GMT
  843. Organization: College of Engineering, University of Maryland, College Park
  844.  
  845. In article <1992Apr15.041612.7835@clark.edu> day@william.vancouver.wsu.edu (Steve Day) writes:
  846. >>
  847. >On startup the system allocates a (limited, fixed) number of FCBs (File
  848. >Control Blocks).  The number to be allocated is stored in the boot blocks
  849. >of the startup drive and once they are set up the system can't create more
  850. >as they are needed :-(  These blocks are also shared among all programs 
  851. >including the system and finder and an application also counts as a file.
  852. >I'm not sure if opening a resource fork and a data fork on the same file is
  853. >considered one or two files (Anyone have an answer to that?).
  854.  
  855. Yes, they are considered two files.  System 7, and System 6 using an
  856. extension called "Up your FCBs" allocate FCBs as needed, solving this
  857. problem.
  858.  
  859.  
  860. - -- 
  861. Matthew T. Russotto    russotto@eng.umd.edu    russotto@wam.umd.edu
  862. Some news readers expect "Disclaimer:" here.
  863. Just say NO to police searches and seizures.  Make them use force.
  864. (not responsible for bodily harm resulting from following above advice)
  865.  
  866. +++++++++++++++++++++++++++
  867.  
  868. From: phils@chaos.cs.brandeis.edu (Phil Shapiro)
  869. Organization: Symantec Corp.
  870. Date: Wed, 15 Apr 1992 22:10:23 GMT
  871.  
  872. In article <1992Apr15.041612.7835@clark.edu> day@william.vancouver.wsu.edu (Steve Day) writes:
  873.  
  874.    On startup the system allocates a (limited, fixed) number of FCBs
  875.    (File Control Blocks).  The number to be allocated is stored in the
  876.    boot blocks of the startup drive and once they are set up the
  877.    system can't create more as they are needed :-( These blocks are
  878.    also shared among all programs including the system and finder and
  879.    an application also counts as a file.  I'm not sure if opening a
  880.    resource fork and a data fork on the same file is considered one or
  881.    two files (Anyone have an answer to that?).
  882.  
  883. It's two files. You can check this by using the "file" dcmd in
  884. MacsBug.
  885.  
  886. I had heard that in System 7, the FCB queue is dynamically resizable,
  887. and is no longer limited to the length in the boot blocks. I didn't
  888. see any docs about this in IM VI, however...
  889.  
  890.     -phil
  891. - --
  892.    Phil Shapiro                                   Software Engineer
  893.    Language Products Group                     Symantec Corporation
  894.            Internet: phils@cs.brandeis.edu
  895.  
  896. +++++++++++++++++++++++++++
  897.  
  898. From: zobkiw@world.std.com (Joe Zobkiw)
  899. Organization: The World Public Access UNIX, Brookline, MA
  900. Date: Fri, 17 Apr 1992 14:33:26 GMT
  901.  
  902. This may have been answered but opening a data fork is ONE file and
  903. opening a resource fork is ONE file. therefore...opening both forks
  904. of a single "file" really counts as TWO files :)
  905.  
  906.  
  907.  
  908.  
  909.  
  910.  
  911.  
  912.  
  913.  
  914.  
  915.  
  916.  
  917.  
  918. - -- 
  919. - -- joe zobkiw                           zobkiw@world.std.com
  920. - -- mac.synthesis.MIDI.development.THINK C.asm.communications
  921. - -- digital audio.cdrom.mountain bikes.black cars.perrier.H20
  922.  
  923. +++++++++++++++++++++++++++
  924.  
  925. From: ksand@apple.com (Kent Sandvik)
  926. Date: 17 Apr 92 22:09:52 GMT
  927. Organization: MacDTS Mongols
  928.  
  929. In article <1992Apr15.041612.7835@clark.edu>, day@william.vancouver.wsu.edu
  930. (Steve Day) writes:
  931. > In article <1992Apr14.185231.19216@ux1.cso.uiuc.edu> bts39313@uxa.cso.uiuc.edu
  932. (Benjamin T Sander) writes:
  933. > >Anybody know what could cause an error -42, too many files open?
  934. > >Specifically, what expendable resource does my mac exhaust when
  935. > >it opens a file?  Where can I get more?
  936. > >
  937. > >(The error occurs after several calls to _OpenResFile on various
  938. > >resource files which are all located on an Appleshare volume. I don't
  939. > >know if this is relevant or not.)
  940. > >
  941. > On startup the system allocates a (limited, fixed) number of FCBs (File
  942. > Control Blocks).  The number to be allocated is stored in the boot blocks
  943. > of the startup drive and once they are set up the system can't create more
  944. > as they are needed :-(  These blocks are also shared among all programs 
  945. > including the system and finder and an application also counts as a file.
  946. > I'm not sure if opening a resource fork and a data fork on the same file is
  947. > considered one or two files (Anyone have an answer to that?).
  948.  
  949. The amount of FCB blocks is dynamically allocated in System 7 - yet another
  950. reason to upgrade to this level.
  951.  
  952. Cheers,
  953. Kent Sandvik
  954.  
  955. +++++++++++++++++++++++++++
  956.  
  957. From: jimc@isc-br.ISC-BR.COM (Jim Cathey)
  958. Date: 20 Apr 92 20:25:31 GMT
  959. Organization: ISC-Bunker Ramo, An Olivetti Company
  960.  
  961. In article <PHILS.92Apr15171023@chaos.cs.brandeis.edu> phils@chaos.cs.brandeis.edu (Phil Shapiro) writes:
  962. >   On startup the system allocates a (limited, fixed) number of FCBs
  963. >   (File Control Blocks).  The number to be allocated is stored in the...
  964.  
  965. >I had heard that in System 7, the FCB queue is dynamically resizable,
  966. >and is no longer limited to the length in the boot blocks. I didn't
  967. >see any docs about this in IM VI, however...
  968.  
  969. And, the downside is that you can no longer do a PBOpen(pb, ASYNC)
  970. which worked before.  This is because of the need to allocate memory to
  971. dynamically extend the table.  Yet another nice feature of the Mac OS
  972. gets lost.  (Not that you could actually ever do it because the damned
  973. SCSI driver doesn't do ASYNC either).  Being nibbled to death by
  974. ducks...
  975.  
  976. +----------------+
  977. ! II      CCCCCC !  Jim Cathey
  978. ! II  SSSSCC     !  ISC-Bunker Ramo
  979. ! II      CC     !  TAF-C8;  Spokane, WA  99220
  980. ! IISSSS  CC     !  UUCP: uunet!isc-br!jimc (jimc@isc-br.isc-br.com)
  981. ! II      CCCCCC !  (509) 927-5757
  982. +----------------+
  983.             "PC's --- the junk bonds of the computer industry"
  984.  
  985. +++++++++++++++++++++++++++
  986.  
  987. From: russotto@eng.umd.edu (Matthew T. Russotto)
  988. Date: Mon, 20 Apr 92 21:42:37 GMT
  989. Organization: College of Engineering, University of Maryland, College Park
  990.  
  991. In article <3634@isc-br.ISC-BR.COM> jimc@isc-br.ISC-BR.COM (Jim Cathey) writes:
  992. >
  993. >And, the downside is that you can no longer do a PBOpen(pb, ASYNC)
  994. >which worked before.  This is because of the need to allocate memory to
  995. >dynamically extend the table.  Yet another nice feature of the Mac OS
  996. >gets lost.  (Not that you could actually ever do it because the damned
  997. >SCSI driver doesn't do ASYNC either).  Being nibbled to death by
  998. >ducks...
  999.  
  1000. Agreed about the SCSI driver, but removing PBOpen(pb, Async) isn't
  1001. a necessary consequence of dynamically resizable boot blocks.  Seems
  1002. to me that all PBOpen would need to do is fail (too many files open)
  1003. if called async.
  1004.  
  1005.  
  1006. - -- 
  1007. Matthew T. Russotto    russotto@eng.umd.edu    russotto@wam.umd.edu
  1008. Some news readers expect "Disclaimer:" here.
  1009. Just say NO to police searches and seizures.  Make them use force.
  1010. (not responsible for bodily harm resulting from following above advice)
  1011.  
  1012. +++++++++++++++++++++++++++
  1013.  
  1014. From: quinn@cs.uwa.edu.au (Quinn "The Eskimo!")
  1015. Organization: The University of Western Australia
  1016. Date: Tue, 21 Apr 1992 02:08:17 GMT
  1017.  
  1018. In article <3634@isc-br.ISC-BR.COM>, jimc@isc-br.ISC-BR.COM (Jim Cathey) writes:
  1019. > In article <PHILS.92Apr15171023@chaos.cs.brandeis.edu> phils@chaos.cs.brandeis.edu (Phil Shapiro) writes:
  1020. > >   On startup the system allocates a (limited, fixed) number of FCBs
  1021. > >   (File Control Blocks).  The number to be allocated is stored in the...
  1022. > >I had heard that in System 7, the FCB queue is dynamically resizable,
  1023. > >and is no longer limited to the length in the boot blocks. I didn't
  1024. > >see any docs about this in IM VI, however...
  1025.  
  1026. Neither did I but it was documented somewhere, perhaps in one of the beta
  1027. release notes.  I remember seeing it but I can't remember where )-:
  1028.  
  1029. > And, the downside is that you can no longer do a PBOpen(pb, ASYNC)
  1030. > which worked before.  This is because of the need to allocate memory to
  1031. > dynamically extend the table.  Yet another nice feature of the Mac OS
  1032. > gets lost.
  1033.  
  1034. I hate to tell you this but you never could.  IM III-212 clearly marks
  1035. PBOpen as one of those "routines that may move or purge memory".  That's
  1036. why the toolbox people decided that it would be OK to change it so that it
  1037. actually did move memory.
  1038.  
  1039. > Being nibbled to death by ducks...
  1040.  
  1041. But does it have wings?  And does it float?  And is it as big as a church?
  1042.  
  1043. Quinn "The Eskimo!"   <quinn@cs.uwa.edu.au>  "Real Coke, Diet .sig"
  1044. Department of Computer Science, The University of Western Australia
  1045.   -- Who wouldn't rely on PBOpen not moving memory anyway.
  1046.  
  1047.  
  1048. +++++++++++++++++++++++++++
  1049.  
  1050. From: jimc@isc-br.ISC-BR.COM (Jim Cathey)
  1051. Date: 21 Apr 92 20:26:05 GMT
  1052. Organization: ISC-Bunker Ramo, An Olivetti Company
  1053.  
  1054. In article <1992Apr21.020817.29079@bilby.cs.uwa.oz.au> quinn@cs.uwa.edu.au (Quinn "The Eskimo!") writes:
  1055. >> And, the downside is that you can no longer do a PBOpen(pb, ASYNC)...
  1056.  
  1057. >I hate to tell you this but you never could.  IM III-212 clearly marks
  1058. >PBOpen as one of those "routines that may move or purge memory".  That's
  1059. >why the toolbox people decided that it would be OK to change it so that it
  1060. >actually did move memory.
  1061.  
  1062. I misspoke, as it turns out.  You _should_ be able to do an ASYNC open
  1063. from the foreground code, whether or not it meddles with memory (this
  1064. would probably mean it wasn't truly asynchronous, though [unless it
  1065. could arrange to do all its memory mangling before it scheduled all the
  1066. asynchronous device I/O and returned to foreground code, which it can't
  1067. 'cause that's not how the Device Manager works]), but you would not be
  1068. able to in turn do one in the completion routine of another
  1069. asynchronous request.  A different kettle of ducks, entirely.  (But
  1070. related).  I just hate to see asynchronicity (the heart and soul of
  1071. a truly responsive event-driven system) being eaten away.
  1072.  
  1073. >> Being nibbled to death by ducks...
  1074. >
  1075. >But does it have wings?  And does it float?  And is it as big as a church?
  1076.  
  1077. ... A witch!  A witch!
  1078.  
  1079. +----------------+
  1080. ! II      CCCCCC !  Jim Cathey
  1081. ! II  SSSSCC     !  ISC-Bunker Ramo
  1082. ! II      CC     !  TAF-C8;  Spokane, WA  99220
  1083. ! IISSSS  CC     !  UUCP: uunet!isc-br!jimc (jimc@isc-br.isc-br.com)
  1084. ! II      CCCCCC !  (509) 927-5757
  1085. +----------------+
  1086.             "PC's --- the junk bonds of the computer industry"
  1087.  
  1088. ---------------------------
  1089.  
  1090. End of C.S.M.P. Digest
  1091. **********************
  1092.